{config_load file="$language/lang.conf" section="account_history_info"}
{config_load file="$language/lang.conf" section="print_order"}
{config_load file="$language/lang.conf" section="product_info"}
			<div class="content-nav">
				<div class="content-nav-con">
					<div class="contnet-nav-bg">
						<h2>{#heading_history_info#}</h2>
					</div>
				</div>
			</div>
<div class="page">
<div class="pageItem">

<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#text_date#}</strong> {$ORDER_DATE}</td>
		<td class="history-page-tr-2">{#text_oid#} <strong>{$ORDER_NUMBER}</strong></td>
		<td class="history-page-tr-3">{$ORDER_STATUS}</td>
	</tr>
</table>
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#text_shipping_address#}</strong><br />{$DELIVERY_LABEL}</td>
		{if $BILLING_LABEL}<td class="history-page-tr-1-a"><strong>{#text_payment_address#}</strong><br />{$BILLING_LABEL}</td>{/if}
	</tr>
</table>
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#text_shipping_method#}</strong><br />{$SHIPPING_METHOD}</td>
		<td class="history-page-tr-1-a">{if $PAYMENT_METHOD}<strong>{#text_payment_method#}</strong><br />{$PAYMENT_METHOD}{/if}</td>
	</tr>
</table>
{if $ORDER_COMMENTS!=''}
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>Комментарий к заказу</strong></td>
		<td class="history-page-tr-1-a">{#text_comments#}</td>
	</tr>
</table>
{/if}
{if $PAYMENT_INFORMATION!=''}
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#text_payment_info#}</strong></td>
		<td class="history-page-tr-1-a">{$PAYMENT_INFORMATION}</td>
	</tr>
</table>
{/if}
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#title_history#}</strong></td>
		<td class="history-page-tr-1-a">{$HISTORY_BLOCK}</td>
	</tr>
</table>
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1" colspan="5"><strong>{#text_products#}</strong></td>
	</tr>
	<tr>
		<td class="history-page-td-1"><!-- {#head_units#} --><strong>Кол.</strong></td>
		<td class="history-page-td-2"><strong>{#head_products#}</strong></td>
		<td class="history-page-td-3"><strong>{#head_artnr#}</strong></td>
		<td class="history-page-td-4"><strong>{#head_single_price#}</strong></td>
		<td class="history-page-td-5"><strong>{#head_price#}</strong></td>
	</tr>
	{foreach name=aussen item=order_values from=$order_data}
	<tr>
		<td class="history-page-td-1">{$order_values.PRODUCTS_QTY} x</td>
		<td class="history-page-td-2">{$order_values.PRODUCTS_NAME} <em>{$order_values.PRODUCTS_ATTRIBUTES}</em>{if $order_values.PRODUCTS_SHIPPING_TIME neq ''}<br /><small>{#text_shippingtime#} {$order_values.PRODUCTS_SHIPPING_TIME}</small>{/if}
		<td class="history-page-td-3">{$order_values.PRODUCTS_MODEL}<em>{$order_values.PRODUCTS_ATTRIBUTES_MODEL}</em></td>
		<td class="history-page-td-4">{$order_values.PRODUCTS_SINGLE_PRICE}</td>
		<td class="history-page-td-5">{$order_values.PRODUCTS_PRICE}</td>
	</tr>
	{/foreach}
</table>
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	{foreach name=aussen item=order_total_values from=$order_total}
	<tr>
		<td class="history-page-tr-1">{$order_total_values.TITLE}</td>
		<td class="history-page-tr-1-a">{$order_total_values.TEXT}</td>
	</tr>
	{/foreach}
</table>
<br />
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1"><strong>{#title_print#}</strong><br />{#text_print#}</td>
		<td class="history-page-tr-1-a">{$BUTTON_PRINT} {$BUTTON_SCHET_PRINT} {$BUTTON_KVITANCIA_PRINT}</td>
	</tr>
</table>

{if $downloads_content neq ''}
<table width="100%" style="border-bottom:2px solid #d5a4a4;">
	<tr>
		<td class="history-page-tr-1">Загрузить</td>
		<td class="history-page-tr-1-a">{$downloads_content}</td>
	</tr>
</table>
{/if}
<div class="clear"></div>
<div align="center" style="margin:15px 0 0 0;">{$BUTTON_BACK}</div>
</div>
</div>